Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an aggregate stats to the plugin manager's view #331

Merged
merged 8 commits into from
May 22, 2024

Conversation

Xpirix
Copy link
Collaborator

@Xpirix Xpirix commented Dec 15, 2023

Changes summary

  • Add GeoIp to the project
  • Add country_code and country_name to the model PluginVersionDownload. For existing records, the values of these fields are set to N/D (not determined)
  • Create or update the record when a download request has been made
  • Add a Stats tab in the plugin details page: Map of downloads per country and top download per country

Requirements

Please find below a GIF for this feature:
Plugin_stats

@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6589e3c) 81.94% compared to head (5bd44bc) 82.05%.

Files Patch % Lines
qgis-app/plugins/utils.py 83.33% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #331      +/-   ##
==========================================
+ Coverage   81.94%   82.05%   +0.11%     
==========================================
  Files         139      140       +1     
  Lines        5418     5457      +39     
==========================================
+ Hits         4440     4478      +38     
- Misses        978      979       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dimasciput
Copy link
Collaborator

@Xpirix please fix the conflicts

@Xpirix Xpirix marked this pull request as draft February 1, 2024 05:21
@Xpirix Xpirix marked this pull request as ready for review May 22, 2024 05:05
@dimasciput dimasciput merged commit 3ecd5a4 into qgis:master May 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants